Search results
32 packages found
A cross-platform path to the user's home
Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev`
Convert a tilde path to an absolute path: `~/dev` → `/Users/john/dev`
Convert an absolute path to a tilde path: `/Users/YourUserName/dev` → `~/dev`
- tilde
- expansion
- expand
- commonjs
- tildify
- unexpand
- homedir
- collapse
- convert
- path
- home
- directory
- user
- shell
- View more
Platform agnostic user home directory path resolution for Node.js.
Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.
Get the user home directory with fallback to the system temp directory
Resolve a directory that is either local, global or in the user's home directory.
Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
a cross-platform path to the user's home utility from the m.icro series
Return the current user's home directory.
Get a list of all unix shells for which user configuration files exist. Supports bash, zsh, and fish.
Get user info of an npm user
Get a path in the user home directory
Return the current user's home directory.
Get cross-platform XDG Base Directories or their equivalents. Works with Linux, Windows (win32), or MacOS (darwin).
Manage configs in the user home dir
Get user info of an npm user
Get home directory path on any platform